home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / printing / p_or_s_2.lzh / p_orsave.txt < prev    next >
Text File  |  1989-11-18  |  20KB  |  391 lines

  1. Print oR SAVE --  an ALT/HELP vector stealer.....
  2.  
  3. These programs are Copyright 1989 Chet Walters
  4.  
  5. **** NO RIGHTS RESERVED ****
  6.  
  7. That's right!  Upload 'em anywhere.  Give 'em to anyone! However, just
  8. keep the text file that goes with them _WITH THEM_! (Hey, even us
  9. beleaguered ShareWare programmers are entitled to a little free
  10. advertising).
  11.  
  12. 11/14/89    UPDATE INFO
  13. It was discovered that the original P_R_SAVE and HP_RSAVE would create
  14. PI3 files that would load into PageStream as INVERTED pics  (HI REZ
  15. ONLY).  Whether that is a shortcoming of P_OR_SAVE or PGS is a matter for
  16. conjecture.  At any rate, it's been fixed and the subsequent program files
  17. have grown by 22 bytes each.  The new program and old program file sizes
  18. are given here so you won't get confused.
  19.  
  20.      P_R_SAVE.OLD      956 bytes <--- discard this one
  21.      P_R_SAVE.NEW      978 bytes <--- use this one
  22.  
  23.      HP_RSAVE.OLD     1780 bytes <--- discard this one
  24.      HP_RSAVE.NEW     1802 bytes <--- use this one
  25.  
  26. INST_EPS.PRG is now included in the arc.  It's a tiny program that sets
  27. 960 instead of 1280 as the default of the system screen dump.  Put this
  28. in the auto folder anywhere and it will set EPSON printer as the default
  29. relieving you of the need to have the control panel installed to get
  30. proper screen dumps on an Epson printer.
  31.  
  32. The WHY...
  33. I simply got tired of loading a separate program into memory then
  34. rebooting or running something that stole the ALT/HELP vector depending
  35. on what I wanted to do -- that is whether I wanted to SAVE the screen
  36. as a PI? pic or whether I wanted to dump the screen to the printer (I
  37. have an HP DeskJet).
  38.  
  39. The WHAT...
  40. So, I wrote and ALT/HELP vector stealer that did both!  Yup, depending
  41. on what keys you press, the Print oR SAVEr will either print the screen
  42. on the printer or save it to a disk.  There are two versions, one for
  43. HPDJ owners and one for regular printer owners.  Please read the
  44. instructions below carefully for the one you want to use.
  45.  
  46.  
  47. The HOW...
  48. SAVING PI? pics with Print oR SAVE
  49.  
  50. The following is common to both programs so I will detail it only once
  51. here since it applies to both. First, it's not necessary to hold the
  52. key presses for any length of time (with the exception of the EJECT for
  53. the DJ).  Just use a normal key press for the keys.  Whichever program
  54. you use, it should be run from the AUTO folder though you can run it
  55. from the desktop anytime and it will work OK.  Back up the program
  56. you're going to use.  Then copy it to the AUTO folder. The programs
  57. come defaulted to the root directory of drive A: for saving the PI?
  58. pics.  You can change that, however, by running the appropriate SET
  59. program.  Here's the ones to use: 
  60.  
  61. If you _DON'T_ have an HP then:
  62.    Use P_R_SAVE.PRG in the AUTO folder and set with P_R_SSET.PRG
  63.  
  64. If you _DO_ have an HPDJ or HPLaser then:
  65.    Use HP_RSAVE.PRG in the AUTO folder and set with HP_R_SET.PRG
  66.  
  67. Run the appropriate SET program. You will be first asked to locate the
  68. copy of the program to modify (normally the one you've copied into the
  69. AUTO folder).  If you don't select the right program, then the SET
  70. program will ask again and again until you get the right one or hit
  71. CANCEL on the FSEL.  Once you choose the right one, you will be asked
  72. to choose the path to which you wish your screen dumps saved as PI?
  73. pics and whether you want to modify the program to remember that path.
  74. Say YES and you're done.
  75.  
  76. With either program, pressing the RIGHT-SHIFT / ALT / HELP combination
  77. will save the currently visible screen to the path you have set as an
  78. appropriate Degas PI? picture file.  The program can save 26 screens
  79. consecutively starting with the name SCREEN_A.PI? and ending with the
  80. name SCREEN_Z.PI?.  It starts scanning with the 'A' and the first time
  81. it encounters an empty slot, that's the name it will use.  With this in
  82. mind, it's a good idea to often clean out the path of old pics since
  83. this will speed the process of searching for an empty slot and also
  84. will keep you from getting confused as to which pic is which.
  85.  
  86. Pic Saving Caveats...
  87. Now, one is not supposed to go poking around accessing the disk and
  88. saving screens while another program is running without first asking
  89. that program's permission.  That's what we're doing here. We're
  90. cheating.  Along down the road we're gonna crash the machine.  Someday,
  91. sometime the inevitable bombs will appear.  Don't say I didn't warn
  92. you. Eventually you'll come upon a situation where trying to save the
  93. screen will crash the machine.  Make sure before you go to save a
  94. screen, that you save any important work you might be in the process of
  95. creating.  THEN save the screen with the RT SHIFT/ALT/HELP keys.  Also
  96. make sure you don't press those keys when there is any disk or printer
  97. I/O going on at the time.  YOU HAVE BEEN WARNED!  BTW -  if a save is
  98. successful, you'll hear a bell chime.  If it's _NOT_ successful (disk
  99. full, no names left, whatever) then you'll hear _no_ bell chime (or see
  100. bombs maybe).  Too, if another program has moved the keyboard vector
  101. after we're installed, the SHIFT KEY may be ingnored by the system
  102. (then again maybe not).  If that happens, you won't be able to save the
  103. screen but the print dump should still work (then again, maybe not).
  104.  
  105.  
  106. USING P_R_SAVE.PRG...
  107.  (if you have an HP DJ or LJ then skip this part)
  108.  
  109. When P_R_SAVE.PRG is installed, it will take up 630 bytes or so of your
  110. memory (cheap, huh?).  Any time you press the ALT/HELP keys, you'll not
  111. even notice that P_R_SAVE is there.  It will fall through to the
  112. system's PRINT SCREEN routine and that'll be that.  But, you happen to
  113. have a Rainbow printer and have a nice driver installed so that the
  114. ALT/HELP keys will dump the screen in color, right?  So, you're
  115. wondering what the heck you can do to use P_R_SAVE.  No sweat. Just
  116. make sure that P_R_SAVE.PRG runs AFTER the program that installs
  117. whatever custom driver you need for your printer.  P_R_SAVE will then
  118. fall through that custom driver.  Easy, huh?  Run P_R_SAVE after any
  119. programs that already steal the ALT/HELP keys and you won't know it's
  120. installed unless you press the RIGHT SHIFT / ALT / HELP key combo and
  121. then it'll save your screen.  Now, skip the next section and move on
  122. down to the advertising section (hey, all I ask for my trouble in
  123. writing this program and dox and taking the time to upload it and
  124. making it easy for you to use is that you read my ad.  Small price to
  125. pay... go ahead....)
  126.  
  127. USING HP_RSAVE.PRG
  128.  
  129. There are a few more things you DJ or LJ owners will encounter when
  130. configuring your HP_RSAVE.PRG.  You will be asked to set some other
  131. parameters.  You see, this ain't just a screen dump.  This is a real
  132. fancy screen dump (at only 1600 bytes of memory when installed, it
  133. ain't gonna be THAT awful fancy, but I think it's nice and you will
  134. too). 
  135.  
  136. LETTER or DRAFT mode (LEFT-SHIFT/ALT/HELP)
  137.  
  138. First of all, the program comes defaulted to DRAFT prints.  They turn
  139. out real good looking in draft and you'll hardly notice the difference
  140. in quality, but you'll REALLY notice the savings on your expensive ink
  141. carts.  You can change the default to one of three things.  If you
  142. choose PANEL, then it's up to you to set the quality with front panel
  143. switches on the printer (at least the DJ, dunno about the laser).  If
  144. you choose LETTER then that's the default.  If you choose DRAFT then
  145. DRAFT it'll be.  However, unless you have chosen PANEL you can change
  146. the default ON THE FLY for each individual screen dump!  If you've
  147. chosen LETTER and you hold the LEFT-SHIFT/ALT/HELP keys then for this
  148. dump only, you'll get a DRAFT screen dump (the front panel will switch
  149. to DRAFT after the dump and remain that way so punch it if you need
  150. LETTER for other things).  Just pressing ALT/HELP will still cause a
  151. LETTER print with HP_RSAVE next time, so remember, the LEFT SHIFT key
  152. will SHIFT your PRINTER into the opposite mode from the default for
  153. THIS DUMP ONLY but the printer remains in that mode for ANY OTHER
  154. program BUT HP_RSAVE.  The same applies to a DRAFT default.  The LEFT
  155. SHIFT key will toggle LETTER for